<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/aui.css">
    <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="js/init.js"></script>
    <title>我的</title>
</head>
<body>
<header>
    <div class="f1"></div>
    <div class="f8">我的</div>
    <div class="f1"></div>
</header>
<section class="bg-gray">
    <div class="pad-3">
        <div class="bg-white border-gray">
            <a href="myWallet.html" class="pad-2-3 border-b-gray flex">
                <img class="mar-r-2 col-1" src="img/my1.png" alt="">
                <p class="mar-r-3">电子账户</p>
                <p class="mar-r-3">전자 계좌</p>
            </a>
            <!--<a href="myAward.html" class="pad-3 border-b-gray flex">
                <img class="mar-r-3 col-06" src="img/my2.png" alt="">
                <p class="mar-r-3">奖金明细</p>
                <p class="mar-r-3">전자 계좌</p>
            </a>-->
            <a href="share.html" class="pad-2-3 border-b-gray flex">
                <img class="mar-r-2 col-1" src="img/my3.png" alt="">
                <p class="mar-r-3">推广链接</p>
                <p class="mar-r-3">전자 계좌</p>
            </a>
            <a href="myItem.html" class="pad-2-3 border-b-gray flex">
                <img class="mar-r-2 col-1" src="img/my4.png" alt="">
                <p class="mar-r-3">我的项目</p>
                <p class="mar-r-3">전자 계좌</p>
            </a>
            <li class="pad-2-3 border-b-gray flex" onclick="isShowYi()">
                <img class="mar-r-2 col-1" src="img/my5.png" alt="">
                <p class="mar-r-3">收益明细</p>
                <p class="mar-r-3">전자 계좌</p>
            </li>
            <a href="myinfo.html" class="pad-2-3 border-b-gray flex">
                <img class="mar-r-2 col-1" src="img/my6.png" alt="">
                <p class="mar-r-3">个人信息</p>
                <p class="mar-r-3">전자 계좌</p>
            </a>
            <a href="mymibao.html" class="pad-2-3 border-b-gray flex">
                <img class="mar-r-2 col-1" src="img/my7.png" alt="">
                <p class="mar-r-3">密保信息</p>
                <p class="mar-r-3">전자 계좌</p>
            </a>
            <a href="modifyPwd.html" class="pad-2-3 border-b-gray flex">
                <img class="mar-r-2 col-1" src="img/my8.png" alt="">
                <p class="mar-r-3">修改密码</p>
                <p class="mar-r-3">전자 계좌</p>
            </a>

        </div>

        <div id="exit" class="bg-red pad-2 border-radius-5 color-white center mar-t-5 col-8 auto" onclick="queit()">退出登录</div>
    </div>
</section>
<footer>
    <a href="index.html" class="f1">
        <img src="img/foot1.png" alt="">
        <p>主页</p>
    </a>
    <a href="zhongchou.html" class="f1">
        <img src="img/foot2.png" alt="">
        <p>众筹中心</p>
    </a>
    <a href="news.html" class="f1">
        <img src="img/foot3.png" alt="">
        <p>资讯</p>
    </a>
    <a href="#" class="f1 active">
        <img src="img/foot4.png" alt="">
        <p>个人</p>
    </a>
</footer>

<script>


    $("#exit").click(function () {
        location.href = 'login.html';
        localStorage.user_id = '';
        localStorage.token = '';

    });

    function isShowYi() {
        var data;
        new AjaxRequest({
            type: 'post',
            data: data,
            dataType: 'json',
            url: hostUrl + 'index/Mycenter/bonuscheck',
            callback: res => {

                if(res.status == 1){
                     window.location.href = 'myShouyi.html';

                }else{
                    toast(res.msg);
                }

            }
        });
    }



</script>
</body>
</html>